import defaultHttp from "@/utils/request.js";
export const recordAdd = (data) => {
  return defaultHttp({
    url: "/record/add",
    method: "post",
    data,
  });
};

export const recordEdit = (data) => {
  return defaultHttp({
    url: "/record/edit",
    method: "post",
    data,
  });
};
export const recordList = (data) => {
  return defaultHttp({
    url: "/record/list",
    method: "post",
    data
  });
};
export const recordDelete = (data) => {
  return defaultHttp({
    url: "/record/delete",
    method: "post",
    data,
  });
};
